﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AgentQltyPartsNeedStockUpdate.aspx.cs" Inherits="IHISCETeim.Web.AgentSys.SvrMgr.AgentQltyPartsNeedStockUpdate" %>
<div class="pageContent">
	<form method="post" action="SvrMgr/AgentQltyPartsNeedStockUpdate.aspx?ajaxmethod=updateinstock&id=<%=ID %>&QltyId=<%=QltyId %>" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
		<div class="pageFormContent" layoutH="56">
			 <div class="" style=" clear:both; border-bottom:1px solid #000; padding:5px 0px; margin:5px 0px; font-weight:bold; font-size:14px;">                 
                索赔发货记录
             </div>
            <p>
				<label>机号：</label>
				<input name="SerialNumber"  type="text" class=""  value="<%=objM.SerialNumber %>" readonly />
			</p>
           <p>
				<label>品情单号：</label>
				<input name="ClaimsNumber"  type="text" class=""  value="<%=objM.ClaimsNumber %>" readonly/>
			</p>
             
              <p>
				<label>经销商：</label>
			     <input type="text" name="AgentName" class="" alt=""  value="<%=objM.AgentName %>" readonly/>
               
			</p>          
            
            <p>
				<label>物料号：</label>
                 <input type="text" name="ItemCode" class="" alt=""  value="<%=obj.ItemCode %>" readonly/>
                
			</p>
            <p>
				<label>物料名称：</label>
				<input id="UClaimDemageListAdd_Dscription" name="Dscription" type="text" class=""   value="<%=obj.Dscription %>" readonly/>
			</p>
            <p>
				<label>数量：</label>
				<input name="Quantity" type="text" class=""    value="<%=obj.Quantity %>" readonly/>
			</p> 
         
           
            <div class="divider"></div>
           
            <div class="" style=" clear:both; border-bottom:1px solid #000; padding:5px 0px; margin:5px 0px; font-weight:bold; font-size:14px;">                 
                旧件返还确认<span style=" font-size:11px; color:Red; font-weight:normal!important;">(同一旧件如果分多次返还,请在返回数量上手工计算,货运单号可填写多个并用逗号隔开)</span>
             </div>
              
            <p>
				<label>是否需要返还：</label>
				<input name="InStock" type="checkbox" class=""   value="true" <%=obj.InStock?"checked":""%> />
			</p>
            <p>
				<label>旧件入库日期：</label>
				<input name="InDate" type="text" class="date"   value="<%=obj.InDate ==DateTime.MinValue?DateTime.Now.ToString("yyyy-MM-dd"):obj.InDate.ToString("yyyy-MM-dd")%>" />
			</p>
          
            <p>
				<label>返回数量：</label>
				<input name="InQuantity" type="text" class="inputFloat"   value="<%=obj.InQuantity%>" />
                
			</p>
            <p>
				<label>相关货运单号：</label>
				<input name="InOrderNum" type="text" class=""   value="<%=obj.InOrderNum%>" />
			</p>
             <div class="divider"></div>
            <dl class="nowrap">
				<dt>旧件返还备注：</dt>
                <dd><textarea name="InRemark" cols="50" ><%=obj.InRemark%></textarea></dd>               
            </dl>
            <dl class="nowrap">
				<dt>误判数量：</dt>
				<dd><input name="InWuPan" type="text" class="inputFloat"   value="<%=obj.InWuPan%>" />
                <span>如果没有误判则为0,否则输入误判数量</span>
                </dd>
			</dl>
            <dl class="nowrap">
				<dt>是否已判定：</dt>
                <dd><input name="IsPan" type="checkbox" class=""   value="true" <%=obj.IsPan?"checked":""%> /></dd>               
            </dl>
             <dl class="nowrap">
				<dt>旧件返回规范：</dt>
                <dd>
                    <select name="InGuiFan">
                        <option value="8" <%=obj.InGuiFan==8?"selected":""%> selected >非常好</option>
                        <option value="5" <%=obj.InGuiFan==5?"selected":""%>>好</option>
                        <option value="3" <%=obj.InGuiFan==3?"selected":""%>>一般</option>
                        <option value="0" <%=obj.InGuiFan==0?"selected":""%>>差</option>
                    </select>
                </dd>               
            </dl>
               <dl class="nowrap">
				<dt>旧件去向跟踪：</dt>
                <dd>
                    <select name="GoTrack">
                          <option value="" <%=obj.GoTrack==""?"selected":""%> >     </option>
                        <option value="退回供应商" <%=obj.GoTrack=="退回供应商"?"selected":""%> >退回供应商</option>
                        <option value="实物报废" <%=obj.GoTrack=="实物报废"?"selected":""%>>实物报废</option>
                        <option value="再生" <%=obj.GoTrack=="再生"?"selected":""%>>再生</option>
                        <option value="无实物报废" <%=obj.GoTrack=="无实物报废"?"selected":""%>>无实物报废</option>
                        <option value="误判转销售" <%=obj.GoTrack=="误判转销售"?"selected":""%>>误判转销售</option>
                         <option value="转销售" <%=obj.GoTrack=="转销售"?"selected":""%>>转销售</option>
                    </select>

                    <input type="text" class="date" name="GOTrackDate"  value="<%=obj.GOTrackDate%>" />
                </dd>               
            </dl>
		</div>
		<div class="formBar">
			<ul>
				
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>